﻿using System.Collections.Generic;
using mediaPrime.Controls;
using mediaPrime.TVServerProvider;

namespace mediaPrime.Plugin.TV.Dialogs
{
    /// <summary>
    /// Interaktionslogik für ChannelList.xaml
    /// </summary>
    public partial class ChannelList : MPDialog
    {
        public ChannelList()
        {
            InitializeComponent();
        }

        public void LoadChannels(List<TVServerChannel> channelList)
        {
            listBoxChannelList.ItemsSource = channelList;
        }
    }
}
